<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<meta name="generator" content="ApiGen 2.4.0">

	<title>Class RedMVC\Feed | RedMVC Framework</title>

	<script type="text/javascript" src="resources/combined.js?1841058525"></script>
	<script type="text/javascript" src="elementlist.js?356506387"></script>
	<script type="text/javascript">
		var ApiGen = ApiGen || {};
		ApiGen.options = {"elementDetailsCollapsed":true,"elementsOrder":"natural"};
	</script>
	<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3295955786">

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>

		<div id="groups">

			<h3>Namespaces</h3>
			<ul>
				<li><a href="namespace-PHP.html">PHP</a>
						</li>
				<li class="active"><a href="namespace-RedMVC.html">RedMVC</a>
						<span></span>
						<ul>
				<li><a href="namespace-RedMVC.Auth.html">Auth</a>
						<span></span>
						<ul>
				<li><a href="namespace-RedMVC.Auth.Adapter.html">Adapter</a>
						</li>
				<li><a href="namespace-RedMVC.Auth.Storage.html">Storage</a>
						</li>
							</ul></li>
				<li><a href="namespace-RedMVC.CodeGenerator.html">CodeGenerator</a>
						</li>
				<li><a href="namespace-RedMVC.Controller.html">Controller</a>
						</li>
				<li><a href="namespace-RedMVC.DataTable.html">DataTable</a>
						</li>
				<li><a href="namespace-RedMVC.Db.html">Db</a>
						</li>
				<li><a href="namespace-RedMVC.Drawing.html">Drawing</a>
						<span></span>
						<ul>
				<li><a href="namespace-RedMVC.Drawing.Color.html">Color</a>
						</li>
							</ul></li>
				<li><a href="namespace-RedMVC.Event.html">Event</a>
						</li>
				<li><a href="namespace-RedMVC.Feed.html">Feed</a>
						</li>
				<li><a href="namespace-RedMVC.Form.html">Form</a>
						<span></span>
						<ul>
				<li><a href="namespace-RedMVC.Form.Element.html">Element</a>
						</li>
				<li><a href="namespace-RedMVC.Form.Filter.html">Filter</a>
						</li>
				<li><a href="namespace-RedMVC.Form.Validator.html">Validator</a>
						</li>
							</ul></li>
				<li><a href="namespace-RedMVC.Http.html">Http</a>
						</li>
				<li><a href="namespace-RedMVC.Mail.html">Mail</a>
						</li>
				<li><a href="namespace-RedMVC.Model.html">Model</a>
						</li>
				<li><a href="namespace-RedMVC.Router.html">Router</a>
						</li>
							</ul></li>
			</ul>
		</div>

		<hr>

		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-RedMVC.Acl.html">Acl</a></li>
				<li><a href="class-RedMVC.Auth.html">Auth</a></li>
				<li><a href="class-RedMVC.Bootstrap.html">Bootstrap</a></li>
				<li><a href="class-RedMVC.Browser.html">Browser</a></li>
				<li><a href="class-RedMVC.Config.html">Config</a></li>
				<li><a href="class-RedMVC.DataTable.html">DataTable</a></li>
				<li class="active"><a href="class-RedMVC.Feed.html">Feed</a></li>
				<li><a href="class-RedMVC.File.html">File</a></li>
				<li><a href="class-RedMVC.Form.html">Form</a></li>
				<li><a href="class-RedMVC.Image.html">Image</a></li>
				<li><a href="class-RedMVC.Layout.html">Layout</a></li>
				<li><a href="class-RedMVC.Locale.html">Locale</a></li>
				<li><a href="class-RedMVC.Mail.html">Mail</a></li>
				<li><a href="class-RedMVC.Navigation.html">Navigation</a></li>
				<li><a href="class-RedMVC.Page.html">Page</a></li>
				<li><a href="class-RedMVC.Paypal.html">Paypal</a></li>
				<li><a href="class-RedMVC.Random.html">Random</a></li>
				<li><a href="class-RedMVC.Registry.html">Registry</a></li>
				<li><a href="class-RedMVC.Session.html">Session</a></li>
				<li><a href="class-RedMVC.SessionMsg.html">SessionMsg</a></li>
				<li><a href="class-RedMVC.Translate.html">Translate</a></li>
				<li><a href="class-RedMVC.View.html">View</a></li>
				<li><a href="class-RedMVC.ViewHelper.html">ViewHelper</a></li>
			</ul>





		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="">
		<input type="hidden" name="ie" value="UTF-8">
		<input type="text" name="q" class="text">
		<input type="submit" value="Search">
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="namespace-RedMVC.html" title="Summary of RedMVC"><span>Namespace</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
			<li>
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
			</li>
		</ul>
		<ul>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class Feed</h1>

	<div class="description">
	
<p>Feed class</p>

	</div>








	<div class="info">
		
		
		<b>Namespace:</b> <a href="namespace-RedMVC.html">RedMVC</a><br>

				<b>Category:</b>
				RedMVC<br>
				<b>Author:</b>
				Jan Fischer, bitWorking &lt;<a
href="mailto:info&#64;bitworking.de">info&#64;<!---->bitworking.de</a>&gt;<br>
		<b>Located at</b> <a href="source-class-RedMVC.Feed.html#5" title="Go to source code">Feed.php</a><br>
	</div>


	<table class="summary" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="addEntry" id="_addEntry">

		<td class="attributes"><code>
			
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_addEntry">#</a>
		<code><a href="source-class-RedMVC.Feed.html#23" title="Go to source code">addEntry</a>( <span><a href="class-RedMVC.Feed.Entry.html">RedMVC\Feed\Entry</a> <var>$entry</var></span> )</code>

		<div class="description short">
			
<p>add feed entry to feed</p>

		</div>

		<div class="description detailed hidden">
			
<p>add feed entry to feed</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$entry</var></dt>
					<dd><code><code><a href="class-RedMVC.Feed.Entry.html">RedMVC\Feed\Entry</a></code></code></dd>
				</dl></div>




		</div>
		</div></td>
	</tr>
	<tr data-order="getEntries" id="_getEntries">

		<td class="attributes"><code>
			
			 public 
			array
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getEntries">#</a>
		<code><a href="source-class-RedMVC.Feed.html#32" title="Go to source code">getEntries</a>( )</code>

		<div class="description short">
			
<p>return all entries</p>

		</div>

		<div class="description detailed hidden">
			
<p>return all entries</p>




				<h4>Returns</h4>
				<div class="list">
					<code>array</code><br>Feed\Entry objects<br>
				</div>



		</div>
		</div></td>
	</tr>
	<tr data-order="__toString" id="___toString">

		<td class="attributes"><code>
			
			 public 
			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#___toString">#</a>
		<code><a href="source-class-RedMVC.Feed.html#41" title="Go to source code">__toString</a>( )</code>

		<div class="description short">
			
<p>alias for toAtom</p>

		</div>

		<div class="description detailed hidden">
			
<p>alias for toAtom</p>




				<h4>Returns</h4>
				<div class="list">
					<code>string</code><br>
				</div>



		</div>
		</div></td>
	</tr>
	<tr data-order="fromUrl" id="_fromUrl">

		<td class="attributes"><code>
			
			 public static
			<code><a href="class-RedMVC.Feed.html">RedMVC\Feed</a></code>
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_fromUrl">#</a>
		<code><a href="source-class-RedMVC.Feed.html#50" title="Go to source code">fromUrl</a>( <span>string <var>$url</var></span>, <span>integer <var>$timeout</var> = <span class="php-num">10</span></span>, <span>integer <var>$method</var> = <code><a href="class-RedMVC.File.html#REMOTE_DATA_METHOD_CURL">RedMVC\File::<b>REMOTE_DATA_METHOD_CURL</b></a></code></span> )</code>

		<div class="description short">
			
<p>build Feed object from newsfeed url</p>

		</div>

		<div class="description detailed hidden">
			
<p>build Feed object from newsfeed url</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$url</var></dt>
					<dd><code>string</code></dd>
					<dt><var>$timeout</var></dt>
					<dd><code>integer</code></dd>
					<dt><var>$method</var></dt>
					<dd><code>integer</code><br> (see File constants)</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code><code><a href="class-RedMVC.Feed.html">RedMVC\Feed</a></code></code><br>
				</div>



		</div>
		</div></td>
	</tr>
	<tr data-order="toAtom" id="_toAtom">

		<td class="attributes"><code>
			
			 public 
			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_toAtom">#</a>
		<code><a href="source-class-RedMVC.Feed.html#62" title="Go to source code">toAtom</a>( )</code>

		<div class="description short">
			
<p>convert this Feed to Atom format</p>

		</div>

		<div class="description detailed hidden">
			
<p>convert this Feed to Atom format</p>




				<h4>Returns</h4>
				<div class="list">
					<code>string</code><br>
				</div>



		</div>
		</div></td>
	</tr>
	<tr data-order="toRss09" id="_toRss09">

		<td class="attributes"><code>
			
			 public 
			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_toRss09">#</a>
		<code><a href="source-class-RedMVC.Feed.html#71" title="Go to source code">toRss09</a>( )</code>

		<div class="description short">
			
<p>convert this Feed to RSS 0.9 format</p>

		</div>

		<div class="description detailed hidden">
			
<p>convert this Feed to RSS 0.9 format</p>




				<h4>Returns</h4>
				<div class="list">
					<code>string</code><br>
				</div>



		</div>
		</div></td>
	</tr>
	<tr data-order="toRss20" id="_toRss20">

		<td class="attributes"><code>
			
			 public 
			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_toRss20">#</a>
		<code><a href="source-class-RedMVC.Feed.html#80" title="Go to source code">toRss20</a>( )</code>

		<div class="description short">
			
<p>convert this Feed to RSS 2.0 format</p>

		</div>

		<div class="description detailed hidden">
			
<p>convert this Feed to RSS 2.0 format</p>




				<h4>Returns</h4>
				<div class="list">
					<code>string</code><br>
				</div>



		</div>
		</div></td>
	</tr>
	</table>







	<table class="summary" id="properties">
	<caption>Properties summary</caption>
	<tr data-order="title" id="$title">

		<td class="attributes"><code>
			
			public 
			
		</code></td>

		<td class="name">
				<a href="source-class-RedMVC.Feed.html#13" title="Go to source code"><var>$title</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$title" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="description" id="$description">

		<td class="attributes"><code>
			
			public 
			
		</code></td>

		<td class="name">
				<a href="source-class-RedMVC.Feed.html#14" title="Go to source code"><var>$description</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$description" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="link" id="$link">

		<td class="attributes"><code>
			
			public 
			
		</code></td>

		<td class="name">
				<a href="source-class-RedMVC.Feed.html#15" title="Go to source code"><var>$link</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$link" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="linkSelf" id="$linkSelf">

		<td class="attributes"><code>
			
			public 
			
		</code></td>

		<td class="name">
				<a href="source-class-RedMVC.Feed.html#16" title="Go to source code"><var>$linkSelf</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$linkSelf" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="date" id="$date">

		<td class="attributes"><code>
			
			public 
			
		</code></td>

		<td class="name">
				<a href="source-class-RedMVC.Feed.html#17" title="Go to source code"><var>$date</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$date" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="author" id="$author">

		<td class="attributes"><code>
			
			public 
			
		</code></td>

		<td class="name">
				<a href="source-class-RedMVC.Feed.html#18" title="Go to source code"><var>$author</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$author" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="language" id="$language">

		<td class="attributes"><code>
			
			public 
			
		</code></td>

		<td class="name">
				<a href="source-class-RedMVC.Feed.html#19" title="Go to source code"><var>$language</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$language" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="_entries" id="$_entries">

		<td class="attributes"><code>
			
			protected 
			
		</code></td>

		<td class="name">
				<a href="source-class-RedMVC.Feed.html#21" title="Go to source code"><var>$_entries</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$_entries" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	</table>


</div>

	<div id="footer">
		RedMVC Framework API documentation generated by <a href="http://apigen.org">ApiGen 2.4.0</a>
	</div>
</div>
</div>
</body>
</html>
